/**
 * Vuex的入口
 */
import Vue from 'vue'
import Vuex from 'vuex'
import admin from 'store/admin'
import functions from 'store/functions'
import createState from 'vuex-persistedstate'
Vue.use(Vuex)

export default new Vuex.Store({
  plugins:[createState()],
  modules:{
    admin,functions
  }
})